#!/usr/bin/env node

const http = require('http');
const x = process.argv[2],
      y = process.argv[3];
const addr = `http://localhost:8080/add?x=${x}&y=${y}`;
http.get(addr,(res) => {
  res.pipe(process.stdout); //响应体
}).listen(8080);
